| SelForeColor Property |
Returns/sets the selection Foreground colour in the Treeview control.
Syntax
object.SelForeColor [=color]
The SelForeColor property syntax has these parts:
| Part | Description |
|---|---|
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| color | A numeric expression that specifies the colour. |
Remarks
With the VB6 Treeview control, each Node object can have unique display properties (i.e. ForeColor, BackColor, Bold, etc..). These values are not lost when using custom selection properties.
When the SelForeColor property is changed, all selected Node objects are changed automatically.
Default setting is VBRUN.SystemColorConstants.vbHighlightText
Data Type
stdole.OLE_COLOR